package com.myapp.tools.dbbuilder.base;

import java.util.List;

public class TableBean {
	private String name = null;

	private String primayKey = null;

	private String[] indexs = null;

	private List<FieldBean> fields;

	private String remark = null;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPrimayKey() {
		return primayKey;
	}

	public void setPrimayKey(String primayKey) {
		this.primayKey = primayKey;
	}

	public String[] getIndexs() {
		return indexs;
	}

	public void setIndexs(String indexs) {
		this.indexs = indexs.split("\\|");
	}

	public List<FieldBean> getFields() {
		return fields;
	}

	public void setFields(List<FieldBean> fields) {
		this.fields = fields;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}
